home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VRQCHOIC.S < prev    next >
Text File  |  1993-03-16  |  971b  |  37 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;* Input choice, request mode.
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _vrq_choice
  11. _vrq_choice:
  12. ;    .cargs    #8,handle.w,chin.w,chout.l
  13.  
  14. handle      =         8
  15. chin      =         10
  16. chout      =         12
  17.  
  18.           link        a6,#0
  19.  
  20. ;          VContrl    #30,,,#1
  21.           move.w    handle(a6),-(sp)    ; contrl[6]
  22.           clr.l     -(sp)                ; contrl[5,4]
  23.           move.w    #1,-(sp)            ; contrl[3]
  24.           subq.l    #2,sp                ; contrl[2]
  25.           clr.w     -(sp)                ; contrl[1]
  26.           move.w    #30,-(sp)            ; contrl[0]
  27.  
  28.           subq.l    #4,sp                ;* -> ptsout
  29.           move.l    chout(a6),-(sp)     ;* -> intout
  30.           subq.l    #4,sp                ;* -> ptsin
  31.           pea        chin(a6)            ;* -> intin
  32.           pea        16(sp)                ;* -> contrl
  33.  
  34.           jmp        vdicall
  35.  
  36.           end
  37.